An introduction to object oriented programming, inheritance and method combination

نویسنده

  • Bruce L. Horn
چکیده

Object oriented programming, introduced in the 1960's by Simula, has become an important programming framework for large software systems. Among the attractions of object oriented programming languages is the potential for software reuse through inheritance. Inheritance allows the programmer to define a new class of objects which inherit the procedures and state descriptions of an existing class. The programmer may then modify and extend the behavior and state of the base class. Because state information is static, subclassing state is straightforward: simply append new state information. However, behavior is dynamic; the problem of subclassing behavior is a bit more complicated, since it may not be correct to simply concatenate the behaviors of the superclass and the subclass and execute them sequentially. This issue is referred to as the method combination problem. In this paper, an overview of object oriented programming will be presented, with a description of the philosophy of object oriented programming. The different approaches to inheritance will be compared, followed by a discussion of the method combination problem. «r^SKS^r **̂ < D O D >' TM o * Avionics Laboratory Air Force Wright Aeronautical Laboratories Aeronautical Systems Division (AFSC) Wright-Patterson AFB, Ohio 45433-6543 Agency or No . Gov^menT' ^ ° f "* A d v a n c e d Inheritance and Method Combination 2

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Declarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey

One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...

متن کامل

Class-Based Inheritance is Not a Basic Concept

Class-based inheritance is normally seen as a basic concept and a prerequisit of object-oriented programming. This position paper states that class-based inheritance is not essential for an object-oriented programming language. Instead of class-based inheritance aggregation, parametrical bindings, and aliasing can be used. Aggregation and parametrical bindings are basic concepts of an object mo...

متن کامل

Modelsaz: An Object-Oriented Computer-Aided Modeling Environment

Modeling and simulation of processing plants are widely used in industry. Construction of a mathematical model for a plant is a time-consuming and error-prone task. In light of extensive advancements in computer science (both hardware and software), computers are becoming a necessary instrument in industrial activities. Many software tools for modeling, simulation and optimization of proces...

متن کامل

On Attributes of Objects in Object-Oriented Software Analysis

One of the modern paradigms to develop a system is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles. There is a sequence of activities to develop an analysis model. In the first step, we work in developing an initial use case model. Then in the second step, they identify a number of concepts and build a glossary of partic...

متن کامل

Object-Oriented Term Graph Rewriting

The relationship between the generalised computational model of Term Graph Rewriting Systems (TGRS) and Object-Oriented Programming (OOP) is explored and exploited by extending the TGRS model with records where access to parameters is done by naming rather than position. Records are then used as the basis for expressing object-oriented techniques such as object encapsulation and (various forms ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015